
Configuration = ARM_MICRO

/workdir := .\
/outdir := lib\$(Configuration)\cyclonetcp
/intdir := lib\$(Configuration)\cyclonetcp

BOARD := TARGET_MONITOR_BOARD_V20
/srclist += $(FMLIB)\board\taaget_mbv22\mbed.srcf


/inc += $(FMLIB)\board\taaget_mbv22\cyclonetcp_config

cyclone_tcp_dir := $(FMLIB)\CycloneTCP-1.8.6

/ccdef += CMSIS_BITPOSITIONS
/ccdef += USE_CYCLONETCP


/inc += $(cyclone_tcp_dir)\common
/inc += $(cyclone_tcp_dir)\cyclone_tcp
/src += $(cyclone_tcp_dir)\cyclone_tcp\drivers\phy\lan8720_driver.c
/src += $(SAMAPI_DIR)\src\net\xSocket.cpp
/src += $(SAMAPI_DIR)\src\net\qSocket.cpp
/src += $(cyclone_tcp_dir)\common\cpu_endian.c
/src += $(cyclone_tcp_dir)\common\date_time.c
/src += $(cyclone_tcp_dir)\common\path.c
/src += $(cyclone_tcp_dir)\common\str.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\bsd_socket.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\ethernet.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\ip.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\net.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\net_mem.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\nic.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\ping.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\raw_socket.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\socket.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\tcp.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\tcp_fsm.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\tcp_misc.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\tcp_timer.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\core\udp.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcpv6\dhcpv6_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcpv6\dhcpv6_common.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcpv6\dhcpv6_debug.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcpv6\dhcpv6_relay.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcp\dhcp_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcp\dhcp_common.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcp\dhcp_debug.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dhcp\dhcp_server.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dns\dns_cache.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dns\dns_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dns\dns_common.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\dns\dns_debug.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ftp\ftp_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ftp\ftp_server.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ftp\ftp_server_commands.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ftp\ftp_server_events.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ftp\ftp_server_misc.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\http\http_server.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\http\http_server_auth.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\http\http_server_misc.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\http\mime.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\http\ssi.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv4\arp.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv4\auto_ip.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv4\icmp.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv4\igmp.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv4\ipv4.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv4\ipv4_frag.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\icmpv6.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ipv6.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ipv6_frag.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ipv6_misc.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ipv6_pmtu.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ipv6_routing.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\mld.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ndp.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ndp_cache.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ndp_misc.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\ndp_router_adv.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\ipv6\slaac.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\mdns\mdns_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\mdns\mdns_common.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\mdns\mdns_responder.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\netbios\nbns_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\netbios\nbns_common.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\netbios\nbns_responder.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\sntp\sntp_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\tftp\tftp_client.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\tftp\tftp_client_misc.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\tftp\tftp_server.c
/src += $(cyclone_tcp_dir)\cyclone_tcp\tftp\tftp_server_misc.c

before_postfix :=
postfix := lib
/target := $(before_postfix)cyclonetcp.$(postfix)
